package Scheduler;

import java.util.*;
import People.*;



public class Appointment {

	private int id;
	private patient patient;
	private Doctor doctor;
	private Collection<Operation> operation;
	private int duration;
	private long date;
	private Person creator;

	public patient getPatient() {
		return this.patient;
	}

	public void setPatient(patient patient) {
		this.patient = patient;
	}

	public Doctor getDoctor() {
		return this.doctor;
	}

	public void setDoctor(Doctor doctor) {
		this.doctor = doctor;
	}

	public Collection<Operation> getOperation() {
		return this.operation;
	}

	public void setOperation(Collection<Operation> operation) {
		this.operation = operation;
	}

	public int getDuration() {
		return this.duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	public long getDate() {
		return this.date;
	}

	public void setDate(long date) {
		this.date = date;
	}

	public Person getCreator() {
		return this.creator;
	}

	public void setCreator(Person creator) {
		this.creator = creator;
	}

	public int getId() {
		return this.id;
	}

	/**
	 * 
	 * @param id
	 */
	public void setId(int id) {
		this.id = id;
	}
}